mkdir -p classes
HADOOP_HOME=/usr/lib/hadoop-0.20
HADOOP_LIB=$HADOOP_HOME/lib/
rm -rf MapReduce.jar
javac -classpath $HADOOP_HOME/hadoop-core.jar:$HADOOP_HOME/hadoop-tools.jar:$HADOOP_LIB/commons-cli-1.2.jar:$HADOOP_LIB/commons-logging-api-1.0.4.jar:weka.jar:stemming.jar:stanford-postagger.jar:xstream.jar:xpp3.jar -d classes/ *.java
jar -cvf MapReduce.jar -C classes/ .
